package com.mall.tiktokmall.auth.mapper;


import com.mall.tiktokmall.auth.domain.dataobject.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select id, username, password, mail, phone, create_time, update_time from user where id = #{id}")
    User selectUser(Long id);
}
